﻿using System;
using System.Collections.Generic;
using SsrsRenderStudio.KnownTypesAndModels;
using SsrsRenderStudio.Shared.HostServices;

namespace SsrsRenderStudio.Renderer.Output.Version2013
{
    public abstract class OutputParameters
    {
        public byte[][] RenderedReportBuffer;
    }

    public class FileOutputParameters : OutputParameters
    {
        public System.IO.FileInfo DestinationFile;
    }

    public class EmailOutputParameters : OutputParameters
    {
        public List<System.Net.Mail.MailAddress> Recipients;
        public string MessageSubject = "Your Report.";
        public string MessageBody = "See attached file.\n";
        public bool IsBodyHtml = false;
        public string FileName = "attachment";
        public string FileExtension;
        public string MimeContentType;
    }

    public class PrinterOutputParameters : OutputParameters
    {
        public PrinterInfo10 PrinterInformation;
        public PageSettings10 PageSettings;
        public Func<DeviceContextCachingParameters, DeviceContextCachingInformation> DeviceContextRetrievalFunction;
    }
}
